package aaron.pattern.singleton;

/**
 * Created by aaron on 17-6-18.
 */
public class Singleton {
    private static final Singleton singleton = new Singleton();

    private Singleton(){}

    public static Singleton getSingleton(){
        return singleton;
    }

    public static void doSomething(){
        System.out.println("This is singleton");
    }
}
